import axios from '../utils/axios'

export function login(user){
    console.log('login...')
    return axios.post("/user/login",user)
}

export function regist(user){
    console.log('regist...')
    return axios.post("/user/regist",user)
}